package com.springcloud.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author
 * @create 2020-11-11 18:48
 */
//开启网关服务
@EnableZuulProxy
//Eureka
@EnableEurekaClient
//跨域
//@CrossOrigin
@SpringBootApplication
public class ZuulApplication8898 {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication8898.class,args);
    }
}
